<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../../util/taglib.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath %>" />
    <title>单位数据列表</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<jsp:include page="../util/commScript.jsp">
	   <jsp:param value="<%=basePath %>" name="basePath"/>
	</jsp:include>
  </head>
<body>
	<div class="place">
	   <span>位置：</span>
	   <ul class="placeul">
	    <li><a href="javascript:void(0)">首页</a></li>
	    <li><a href="javascript:void(0)">系统管理</a></li>
	    <li><a href="javascript:void(0)">单位管理</a></li>
	   </ul>
	</div>
	<div id="companyListPage"  class="easyui-layout"  data-options="fit:'true'">
		<input type="hidden" name="companyUUID" id="companyUUID" value="${param.companyUUID }" >
		<div class="daohangArea" data-options="region:'west',split:true,title:'导航树'" title="West" style="width:240px;padding:3px">
			
		</div>
		<div data-options="region:'center',title:'单位\机构列表'" title="Center">
		    <div class="companyList"></div>
		</div>
	    <div id="companyTools">
		    <!-- 表格工具栏 -->
			<div class="tb_toolbar">
			    <span id="actionBtnArea" style="float:left;margin-right: 5px">
			       <a href="javascript:void(0)" id="addDataLink"  class="easyui-linkbutton" data-options="iconCls:'icon-add'">新增单位/机构</a>
				   <a href="javascript:void(0)" id="updateDataLink" class="easyui-linkbutton" data-options="iconCls:'icon-edit'">编辑</a>
				   <a href="javascript:void(0)" id="batchDeleteLink" class="easyui-linkbutton" data-options="iconCls:'icon-no'">批量删除</a>
			    </span>
			    <form action="#" method="post" id="searchForm">
			       <input type="hidden" name="parentUUID" id="parentUUID" value="${param.parentCompanyUUID }"/>
			       <input type="hidden" name="parentName" id="parentName" value="${param.parentCompanyName }"/>
			       <input type="text" class="easyui-textbox" data-options="width:140,prompt:'单位名称'"  name="companyName" />
			       <a href="javascript:seachData()" class="easyui-linkbutton"  data-options="iconCls:'icon-search'">检索</a>
			    </form>
			</div>
		    <!-- 表格行工具栏 -->
			<div class="row_toolbar">
				<a href="javascript:addData('#ID#')" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">编辑</a>
				<a href="javascript:delData('#ID#')" class="easyui-linkbutton" data-options="iconCls:'icon-no',plain:true">删除</a><br/>
			</div>
	    </div>
	   
	    <script type="text/javascript">
	       var tableObject = $("#companyListPage .companyList");
		</script>
	    <script type="text/javascript" src="<%=basePath %>manage/action/gridAction.js"></script>
		<script type="text/javascript" src="<%=basePath %>manage/action/xtszCompany.js"></script>
	</div>
</body>
</html>
